package com.example.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.OrdersListDao;
import com.example.entity.OrdersList;
import com.example.entity.DishData;
import com.example.service.OrdersListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrdersListServiceImpl extends ServiceImpl<OrdersListDao, OrdersList> implements OrdersListService {

    @Autowired
    private OrdersListDao ordersListDao;

    @Override
    public List<DishData> getByBuyNumber() {
        return ordersListDao.getByBuyNumber();
    }
}
